
<template>
  <div>
    <el-card>
      <el-form ref="formRef" label-width="80px">
        <el-form-item label="原始密码" prop="password">
          <el-input show-password placeholder="原始密码"></el-input>
        </el-form-item>
        <el-form-item label="新密码" prop="newPassword">
          <el-input show-password placeholder="新密码"></el-input>
        </el-form-item>
        <el-form-item label="确认密码" prop="confirmPassword">
          <el-input show-password placeholder="确认密码"></el-input>
        </el-form-item>
        <div style="text-align: center; margin-bottom: 20px">
          <el-button type="primary" @click="update">确认修改</el-button>
        </div>
      </el-form>
    </el-card>
  </div>
</template>

<script setup>

</script>


<style scoped>
.el-card{
  width: 100%;
  height: 300px;
}
.el-form{
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

}
</style>